package cn.mystylefree.my_persistence_demo.dao;

import cn.mystylefree.my_persistence_demo.domain.User1;
import org.dom4j.DocumentException;

import java.beans.PropertyVetoException;
import java.util.List;

/**
 * @program my-project-model
 * @description:
 * @author: lee
 * @create: 2022/06/17 12:38
 */
public interface IUserDao {
    //查询所有用户
    public List<User1> findAll() throws PropertyVetoException, DocumentException;
    //根据条件查询
    public User1 findByCondition(User1 user) throws PropertyVetoException, DocumentException;


}
